package entry.page;

import source.kernel.Core;
import source.kernel.base.ExceptionHandler;
import source.kernel.controller.ActionSupport;

import javax.servlet.annotation.WebServlet;

/**
 * 首页
 */
@WebServlet(name = "IndexController", urlPatterns = "/index.htm")
public class IndexController extends ActionSupport {
    public void index() {
        try {
            Core.forward("/index/index.jsp");
        } catch (Exception e) {
            ExceptionHandler.handling(e);
        }
    }
}
